﻿// <copyright file="MostPopularMediaItem.cs" company="Microsoft Corporation">
// Copyright (c) 2010 Microsoft Corporation All Rights Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2010-09-13</date>
// <summary>Most Popular Media Item CLR Class</summary>

namespace NYTimes.Data
{
    using System.Collections.ObjectModel;

    /// <summary>
    /// A media item returned from the Most Popular API
    /// </summary>
    public class MostPopularMediaItem
    {
        /// <summary>
        /// Gets or sets the media type
        /// </summary>
        public string MediaType { get; set; }

        /// <summary>
        /// Gets or sets the subtype
        /// </summary>
        public string Subtype { get; set; }

        /// <summary>
        /// Gets or sets the caption
        /// </summary>
        public string Caption { get; set; }

        /// <summary>
        /// Gets or sets the copyright
        /// </summary>
        public string Copyright { get; set; }

        /// <summary>
        /// Gets or sets the metadata
        /// </summary>
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification = "Not for serialization.")]
        public Collection<MediaMetadata> Metadata { get; set; }
    }
}
